<include file="public@header" />
</head>
<body>
<div class="wrap js-check-wrap">    
    <form class="well form-inline margin-top-20" method="post" action="{:url('Member/datum')}">
       会员查询：
        <input type="text" class="form-control" name="mobile" style="width: 200px;" value="{:input('request.mobile/s','')}" placeholder="填写会员手机">
        <input type="submit" class="btn btn-primary" value="查询"/>
        <a class="btn btn-danger" href="{:url('Member/datum')}">清空</a>
    </form>
    <form action="" method="post" class="margin-top-20">
        <table class="table table-hover table-bordered">
            <thead>
            <tr>
                <th width="40">ID</th>
                <th align="left">所在店铺</th>
                <th align="left">姓名</th> 
                <th align="left">卡号</th>                
                <th align="left">手机号</th> 
                <th align="left">积分</th>
				<th align="left">余额</th>              
                <th align="left">办卡时间</th> 
            </tr>
            </thead>
            <tbody>
            <foreach name="list" item="v">
                <tr>
                    <th width="40">{$v.id}</th>
                    <th align="left">{:get_store_data($v['store_id'],'store_name')}</th>
                    <th align="left">{$v.uname}</th>
                    <th align="left">{$v.card_id}</th>
                    <th align="left">{$v.mobile}</th>
                    <td>{:getIntegral($v['store_id'],$v['id'])}</td>
					<td>{:getFinance($v['store_id'],$v['id'])}</td>
                    <th align="left">{$v.ctime}</th>                                      
                </tr>
            </foreach>
            </tbody>
        </table>
        <div class="pagination">{$page}</div>
    </form>
</div>
<script src="__STATIC__/js/admin.js"></script>
</body>
<script>
</script>
</html>
</body>
</html>

